//
//  HistoryNavViewController.m
//  Eath
//
//  Created by yuhaya on 10/3/14.
//  Copyright (c) 2014 yuhaya. All rights reserved.
//

#import "HistoryNavViewController.h"
#import "KL_ImagesZoomController.h"

@interface HistoryNavViewController ()

@end

@implementation HistoryNavViewController

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        
    }
    return self;
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

-(void)showImgWith:(NSMutableArray *)imgs andIndex:(NSInteger)index
{
    KL_ImagesZoomController *img_view = [[KL_ImagesZoomController alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, self.view.frame.size.height )imgViewSize:CGSizeZero];
    [self.view addSubview:img_view];
    [img_view updateImageDate:imgs selectIndex:index];
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
